<?php
require 'App.php';
require 'Controller.php';
require 'lib/Model.php';
require 'lib/Error.php';
require 'lib/BaseDb.php';
require 'lib/Redis.php';
require 'lib/simple_html_dom.php';
require 'lib/func.php';

$config = parse_ini_file(APP_PATH.'/conf/application.ini', true);
$model = new Model($config);
Model::setDb($model);

$app = new App( $config );
$app->run();
